package com.example.riskmanage.bean;

public class QueryInfo {
    private int pageNum = 1;// 当前页
    private int pageSize = 5;// 每页最大数
    private String query;// 查询信息class
    private int id;//查询信息Id

    public QueryInfo() {
    }

    public QueryInfo(int pageNum, int pageSize, String query) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.query = query;
    }

    public int getPageNum() {
        return pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public String getQuery() {
        return query;
    }

    public int getId() {
        return id;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "QueryInfo{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", query='" + query + '\'' +
                ", id=" + id +
                '}';
    }
}
